package com.xd.core.product.entity;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xd.core.business.entity.ProductCompanyTiered;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 企业产品关联信息
 * </p>
 *
 * @author ZX
 * @since 2025-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ProductCompany对象", description="企业产品关联信息")
public class ProductCompany implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "企业ID")
    private Integer companyId;

    @ApiModelProperty(value = "产品ID")
    private Integer productId;

    @ApiModelProperty(value = "产品名称")
    @TableField(exist = false)
    private String productName;

    @ApiModelProperty(value = "收费方式（1-比例收费，2-固定收费,3-阶梯收费）")
    private Integer chargeType;

    @ApiModelProperty(value = "固定收费金额")
    private BigDecimal chargeAmount;

    @ApiModelProperty(value = "收费比例")
    private BigDecimal chargeProportion;

    @ApiModelProperty(value = "债权到期转让时间")
    private Integer expireTime;

}
